package routers

import (
	"kukukaki/controllers"
	"github.com/astaxie/beego"
)

func init() {
	  beego.AutoRouter(&controllers.MainController{})
	  beego.AutoRouter(&controllers.UserController{})
	 // beego.AutoRouter(&controllers.TopController{})
	  beego.AutoRouter(&controllers.SearchController{})
	  beego.AutoRouter(&controllers.IngredientController{})
     // beego.Router("/", &controllers.MainController{},"*:Show")
   // beego.Router("/admin", &admin.AdminController{})
   // beego.Router("/admin/add", &admin.AdminController{})
    
   // beego.Router("/admininfo", &admin.AdminController{},"post,get:Show")
   // beego.Router("/adminadd", &admin.AdminController{},"post,get:Add")
}
